package com.doradance.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/3/5.
 */

public class VipEntity {


    /**
     * nick_name : String, 昵称
     * avatar :
     * current : {"id":10,"name":"白银","icon":"http://static.doradance.cn/a7171442-d273-46c0-b631-f13252bfd9aa.jpg","price":0.01,"days":2,"expire_at":1522582515000,"remain_days":24,"expire_at_text":"2018/04/01/19:35到期","privileges":[""]}
     * vips : [{"id":20,"name":"黄金","icon":"http://static.doradance.cn/c0ebabad-d81e-4274-8b44-3f57ed3d3bae.jpg","price":0.01,"days":180,"privileges":[""]},{"id":30,"name":"铂金","icon":"http://static.doradance.cn/61c26b6b-e718-460a-bf63-c98749a9994d.jpg","price":0.01,"days":365,"privileges":[""]}]
     * highest : false
     * open : true
     */

    private String nick_name;
    private String avatar;
    private CurrentBean current;
    private boolean highest;
    private boolean open;
    private List<VipsBean> vips;

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public CurrentBean getCurrent() {
        return current;
    }

    public void setCurrent(CurrentBean current) {
        this.current = current;
    }

    public boolean isHighest() {
        return highest;
    }

    public void setHighest(boolean highest) {
        this.highest = highest;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public List<VipsBean> getVips() {
        return vips;
    }

    public void setVips(List<VipsBean> vips) {
        this.vips = vips;
    }

    public static class CurrentBean implements Serializable{
        /**
         * id : 10
         * name : 白银
         * icon : http://static.doradance.cn/a7171442-d273-46c0-b631-f13252bfd9aa.jpg
         * price : 0.01
         * days : 2
         * expire_at : 1522582515000
         * remain_days : 24
         * expire_at_text : 2018/04/01/19:35到期
         * privileges : [""]
         */

        private int id;
        private String name;
        private String icon;
        private double price;
        private int days;
        private long expire_at;
        private int remain_days;
        private String expire_at_text;
        private List<String> privileges;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getDays() {
            return days;
        }

        public void setDays(int days) {
            this.days = days;
        }

        public long getExpire_at() {
            return expire_at;
        }

        public void setExpire_at(long expire_at) {
            this.expire_at = expire_at;
        }

        public int getRemain_days() {
            return remain_days;
        }

        public void setRemain_days(int remain_days) {
            this.remain_days = remain_days;
        }

        public String getExpire_at_text() {
            return expire_at_text;
        }

        public void setExpire_at_text(String expire_at_text) {
            this.expire_at_text = expire_at_text;
        }

        public List<String> getPrivileges() {
            return privileges;
        }

        public void setPrivileges(List<String> privileges) {
            this.privileges = privileges;
        }
    }

    public static class VipsBean implements Serializable{
        /**
         * id : 20
         * name : 黄金
         * icon : http://static.doradance.cn/c0ebabad-d81e-4274-8b44-3f57ed3d3bae.jpg
         * price : 0.01
         * days : 180
         * privileges : [""]
         */

        private int id;
        private String name;
        private String icon;
        private double price;
        private int days;
        private List<String> privileges;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getDays() {
            return days;
        }

        public void setDays(int days) {
            this.days = days;
        }

        public List<String> getPrivileges() {
            return privileges;
        }

        public void setPrivileges(List<String> privileges) {
            this.privileges = privileges;
        }
    }
}
